//
//  LoadNetView.h
//  MonitoringNetwork
//
//  Created by admin on 2018/1/10.
//  Copyright © 2018年 wtmcxlm. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum : NSUInteger {
    LoadingViewResultTypeSuccess,
    LoadingViewResultTypeError,
    LoadingViewResultTypeExclamationMark,
} LoadingViewResultType;

@interface LoadNetView : UIView
@property(nonatomic, strong) UIColor *loadingColor;
@property(nonatomic, strong) UIColor *successColor;
@property(nonatomic, strong) UIColor *exclamationColor;
@property(nonatomic, strong) UIColor *errorColor;

@property(nonatomic, assign) CGFloat lineWidth;
@property(nonatomic, assign) CGFloat radius;

- (void) start;
- (void)endAnimationWithResult:(LoadingViewResultType )result;
@end

